﻿<%@ Page Title="My Profile" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MyProfile.aspx.cs" Inherits="StudentHookups.Account.MyProfile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<title>My Profile</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
                <asp:LoginView ID="MyProfileLogin" runat="server" EnableViewState="false">
                    <AnonymousTemplate>
                        <p>You are not logged into an account please goto: 
                        <a href="~/Account/Login.aspx" ID="HeadLoginStatus" runat="server">Log In</a></p>                       
                    </AnonymousTemplate>
                    <LoggedInTemplate>
                    <div class="myprofilemenu">
                    <asp:Menu ID="ProfileMenu" runat="server" CssClass="myprofilemenu" EnableViewState="false" IncludeStyleBlock="false" >
                    <Items>
                        <asp:MenuItem NavigateUrl="~/Account/Profile/ViewFriends.aspx" Text="View Friends"/>
                        <asp:MenuItem NavigateUrl="~/Account/Profile/EditProfile.aspx" Text = "Edit Profile"/>
                        <asp:MenuItem NavigateUrl="~/Account/Profile/ViewProfile.aspx" Text="Display Profile"> </asp:MenuItem>                  
                    </Items>
                </asp:Menu>  
                    </div>
                    <div class="userdata">
                        <h1 id="myprofileheader">Welcome to your profile</h1>
                        <ol class="userinformation">
                        <li><asp:Label ID="Fullname" runat="server" Text="Fullname"></asp:Label></li>
                            
                        <li><asp:Label ID="Accountname" runat="server" Text="Accountname"></asp:Label></li>
                           
                        <li><asp:Label ID="Age" runat="server" Text="Age"></asp:Label></li>
                            
                        <li><asp:Label ID="Gender" runat="server" Text="Gender"></asp:Label></li>
                        <b>Information:</b>
                        <br />
                            <asp:TextBox ID="tbInfo" runat="server" CssClass="tbInformation" 
                         TextMode="MultiLine" MaxLength="2" Rows="6" Enabled="True" ReadOnly="True"></asp:TextBox>    
                        </ol>
                    </div>
                    <div class="ImagePlacement">
                     <asp:Image CssClass="ProfileImage" ID="ProfileImage" runat="server" AlternateText="Please Submit an image"/> 
                     </div>
                                       
                    </LoggedInTemplate>
                </asp:LoginView>
</asp:Content>
